<template>
  <div class="money">
        <van-contact-card
        type="edit"
        :name="currentContact.name"
        :tel="currentContact.tel"
        />
  </div>
</template>

<script>
import Vue from "vue"
import { Toast } from 'vant';
import { ContactCard } from 'vant';

Vue.use(ContactCard);
export default {
    name:"MoneyView",
      data() {
    return {
      currentContact: {
        name: 'james',
        tel: '18888888888',
      },
    };
  },
  methods: {
    onEdit() {
      Toast('编辑');
    },
  },
}
</script>

<style>

</style>